package com.dds.system.domain.union;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dds.common.annotation.Excel;
import com.dds.common.core.domain.BaseEntity;

/**
 * 联盟商订单退款记录对象 union_shop_order_refund
 * 
 * @author gaolianjie
 * @date 2021-04-01
 */
public class UnionShopOrderRefund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单退款id */
    private Integer refundId;

    /** 订单 ID */
    @Excel(name = "订单 ID")
    private Integer orderId;

    /** 一级商户号 + order_sn */
    @Excel(name = "一级商户号 + order_sn")
    private String tranflow;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundAmount;

    /** 退款中,中投通道费用 */
    @Excel(name = "退款中,中投通道费用")
    private BigDecimal msfChannelFee;

    /** 退款中,动动省通道费用 */
    @Excel(name = "退款中,动动省通道费用")
    private BigDecimal ddsChannelFee;

    /** 退款中,动动省二级商户(分润专用账户)费用 */
    @Excel(name = "退款中,动动省二级商户(分润专用账户)费用")
    private BigDecimal ddsMerchantFee;

    /** 退款中,目标商户费用 */
    @Excel(name = "退款中,目标商户费用")
    private BigDecimal merchantFee;

    /** 退款备注 */
    @Excel(name = "退款备注")
    private String refundRemark;

    /** 枚举值: 0未退款,1已退款 */
    @Excel(name = "枚举值: 0未退款,1已退款")
    private String refundStatus;

    /** 实际退款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际退款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 后台操作人员 ID */
    @Excel(name = "后台操作人员 ID")
    private Long userId;

    /** 由退款生成的充值订单ID */
    @Excel(name = "由退款生成的充值订单ID")
    private Integer rechargeOrderId;

    /** 退款相应的积分 */
    @Excel(name = "退款相应的积分")
    private BigDecimal refundScore;

    /** 执行退款操作的店铺管理人员ID */
    @Excel(name = "执行退款操作的店铺管理人员ID")
    private String shopManagerUserId;

    public void setRefundId(Integer refundId) 
    {
        this.refundId = refundId;
    }

    public Integer getRefundId() 
    {
        return refundId;
    }
    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }
    public void setTranflow(String tranflow) 
    {
        this.tranflow = tranflow;
    }

    public String getTranflow() 
    {
        return tranflow;
    }
    public void setRefundAmount(BigDecimal refundAmount) 
    {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getRefundAmount() 
    {
        return refundAmount;
    }
    public void setMsfChannelFee(BigDecimal msfChannelFee) 
    {
        this.msfChannelFee = msfChannelFee;
    }

    public BigDecimal getMsfChannelFee() 
    {
        return msfChannelFee;
    }
    public void setDdsChannelFee(BigDecimal ddsChannelFee) 
    {
        this.ddsChannelFee = ddsChannelFee;
    }

    public BigDecimal getDdsChannelFee() 
    {
        return ddsChannelFee;
    }
    public void setDdsMerchantFee(BigDecimal ddsMerchantFee) 
    {
        this.ddsMerchantFee = ddsMerchantFee;
    }

    public BigDecimal getDdsMerchantFee() 
    {
        return ddsMerchantFee;
    }
    public void setMerchantFee(BigDecimal merchantFee) 
    {
        this.merchantFee = merchantFee;
    }

    public BigDecimal getMerchantFee() 
    {
        return merchantFee;
    }
    public void setRefundRemark(String refundRemark) 
    {
        this.refundRemark = refundRemark;
    }

    public String getRefundRemark() 
    {
        return refundRemark;
    }
    public void setRefundStatus(String refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public String getRefundStatus() 
    {
        return refundStatus;
    }
    public void setRefundTime(Date refundTime) 
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime() 
    {
        return refundTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRechargeOrderId(Integer rechargeOrderId) 
    {
        this.rechargeOrderId = rechargeOrderId;
    }

    public Integer getRechargeOrderId() 
    {
        return rechargeOrderId;
    }
    public void setRefundScore(BigDecimal refundScore) 
    {
        this.refundScore = refundScore;
    }

    public BigDecimal getRefundScore() 
    {
        return refundScore;
    }
    public void setShopManagerUserId(String shopManagerUserId) 
    {
        this.shopManagerUserId = shopManagerUserId;
    }

    public String getShopManagerUserId() 
    {
        return shopManagerUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refundId", getRefundId())
            .append("orderId", getOrderId())
            .append("tranflow", getTranflow())
            .append("refundAmount", getRefundAmount())
            .append("msfChannelFee", getMsfChannelFee())
            .append("ddsChannelFee", getDdsChannelFee())
            .append("ddsMerchantFee", getDdsMerchantFee())
            .append("merchantFee", getMerchantFee())
            .append("refundRemark", getRefundRemark())
            .append("createTime", getCreateTime())
            .append("refundStatus", getRefundStatus())
            .append("refundTime", getRefundTime())
            .append("userId", getUserId())
            .append("rechargeOrderId", getRechargeOrderId())
            .append("refundScore", getRefundScore())
            .append("shopManagerUserId", getShopManagerUserId())
            .toString();
    }
}
